window: Improve set_titlebar() function
authorBenjamin Otte <otte@redhat.com>
Tue, 21 Sep 2021 01:39:19 +0000 (03:39 +0200)
committerBenjamin Otte <otte.benjamin@googlemail.com>
Tue, 21 Sep 2021 02:52:30 +0000 (02:52 +0000)
commit9fb729ccc01dadc674aab23981cff78eaef2059f
tree8265398ab2d47b01d62b166557beb08df1230a09
parent4b582851f7bc329274b4df0177e2b7b6723ca380
window: Improve set_titlebar() function

Get rid of a goto and check if the titlebar is already set.
gtk/gtkwindow.c